package com.kanavi.fpm.entity;

import cn.org.atool.fluent.mybatis.annotation.FluentMybatis;
import cn.org.atool.fluent.mybatis.annotation.TableField;
import cn.org.atool.fluent.mybatis.annotation.TableId;
import cn.org.atool.fluent.mybatis.base.RichEntity;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * AdsNucleicAcidRuleConfigEntity: 数据映射实体定义
 *
 * @author Powered By Fluent Mybatis
 */
@SuppressWarnings({"rawtypes", "unchecked"})
@Data
@Accessors(
    chain = true
)
@EqualsAndHashCode(
    callSuper = false
)
@FluentMybatis(
    table = "ads_nucleic_acid_rule_config",
    schema = "test"
)
public class AdsNucleicAcidRuleConfigEntity extends RichEntity {
  private static final long serialVersionUID = 1L;

  /**
   */
  @TableId("ID")
  private Integer id;

  /**
   * 人员类型-编码
   */
  @TableField("CATEGORY")
  private String category;

  /**
   * 人员类别-字符串
   */
  @TableField("CATEGORY_STR")
  private String categoryStr;

  /**
   * 主管部门-字符串
   */
  @TableField("COMPETENT_DEPT_STR")
  private String competentDeptStr;

  /**
   * 创建时间
   */
  @TableField("CREATE_TIME")
  private Date createTime;

  /**
   * 频次
   */
  @TableField("FREQUENCY")
  private String frequency;

  /**
   * 修改时间
   */
  @TableField("LAST_MODIFY_TIME")
  private Date lastModifyTime;

  /**
   * 核酸检测规则
   */
  @TableField("NUCLEIC_ACID_RULE")
  private String nucleicAcidRule;

  @Override
  public final Class entityClass() {
    return AdsNucleicAcidRuleConfigEntity.class;
  }
}
